package src.string;

import java.util.Scanner;

public class kama54 {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        String str = sc.nextLine();
        System.out.println(test(str));
        sc.close();
    }

    public static String replaceNum(String s) {
        //先统计数字个数，开辟新数组
        int count = 0;
        for (int i = 0; i < s.length(); i++) {
            if (Character.isDigit(s.charAt(i))) {
                count++;
            }
        }
        //char[] oldString = s.toCharArray();
        int newSize = s.length() + count * 5;
        char[] newArray = new char[newSize];

        //替换数字
        // i为原数组指针，j为新数组指针,指针从数组末尾向左依次赋值
//        int i = s.length(), j = newSize-1;
        for (int i = s.length() - 1, j = newSize - 1; i>=0; i--,j--) {
            //同s.charAt(i)定位i处字符，或转为字符数组用oldString[i]
            if (Character.isDigit(s.charAt(i))) {
                newArray[j] = 'r';
                newArray[j-1] = 'e';
                newArray[j-2] = 'b';
                newArray[j-3] = 'm';
                newArray[j-4] = 'u';
                newArray[j-5] = 'n';
                j = j-5;
            } else {
                newArray[j] = s.charAt(i);
            }
        }
        return new String(newArray);

    }

    //法2：用StringBuffer 或 stringBuilder工具类的append方法
    public static String test(String s){
        char[] charArray = s.toCharArray();
        StringBuilder stringBuilder = new StringBuilder();
        StringBuffer stringBuffer = new StringBuffer();
        for (int i = 0; i < charArray.length; i++) {
            if (Character.isDigit(charArray[i])) {
                stringBuilder.append("number");
            }else{
                stringBuilder.append(charArray[i]);
            }
        }
        return stringBuilder.toString();
    }
}
